from tabulate import tabulate
data = [[1,2,3],[4,5,6]]
print(tabulate(data, headers=["A","B","C"], tablefmt="fancy_grid"))